﻿package gdca.webservice.common;

import java.util.List;
import java.util.Map;

public class XMLData {

	private String tagName = "";
	private Map<String,String> attribute = null;
	private List<XMLData> children = null;
	private long index = 0L;
	private String value = "";
	public Map<String,String> getAttribute() {
		return attribute;
	}
	public void setAttribute(Map<String,String> attribute) {
		this.attribute = attribute;
	}
	public List<XMLData> getChildren() {
		return children;
	}
	public void setChildren(List<XMLData> children) {
		this.children = children;
	}
	public String getAttribute(String name){
		return (String)attribute.get(name);
	}
	public String getTagName() {
		return tagName;
	}
	public void setTagName(String tagName) {
		this.tagName = tagName;
	}
	public long getIndex() {
		return index;
	}
	public void setIndex(long index) {
		this.index = index;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
}
